﻿
using System;
using UnityEngine;

public class Player : MonoBehaviour
{
	[Header("Config")]
	[SerializeField] private PlayerStats stats;

	private PlayerAnimations animations;

	private void Awake()
	{
		animations = GetComponent<PlayerAnimations>();
	}

	public PlayerStats Stats => stats;

	public void ResetPlayer()
	{
		stats.ResetPlayer();
		animations.ResetPlayer();
	}

}
